package com.huashi.dealer.modular.business.order.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huashi.dealer.commonEntity.OrderGoods;
import com.huashi.dealer.commonEntity.UploadFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName OrderGoodsVo
 * @Description 订单商品文件返回
 * @Author 谭陈强
 * @Date 2025/8/5 11:24
 */
@Data
@Schema(description = "订单商品文件返回")
public class OrderGoodsVo extends OrderGoods{
//    @Schema(description = "创建时间转换")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private LocalDateTime createTimeFormat;
    @Schema(description = "商品图片文件信息")
    private UploadFile image;
    @Schema(description = "商品图片文件信息")
    private List<UploadFile> imageList;
    @Schema(description = "已发货数量")
    private Integer totalCheckNum;
}